package com.acmen.demo.dto.query;

import com.acmen.easyapi.annotation.ReqParam;

/**
 * 查询
 */
public class DemoQuery {
    @ReqParam(label = "身份证号",required = true)
    private String idNo;
    @ReqParam(label = "姓名")
    private String name;
    @ReqParam(label = "手机号")
    private String tel;
    @ReqParam(label = "电子邮件")
    private String email;

    public String getIdNo() {
        return idNo;
    }

    public DemoQuery setIdNo(String idNo) {
        this.idNo = idNo;
        return this;
    }

    public String getName() {
        return name;
    }

    public DemoQuery setName(String name) {
        this.name = name;
        return this;
    }

    public String getTel() {
        return tel;
    }

    public DemoQuery setTel(String tel) {
        this.tel = tel;
        return this;
    }

    public String getEmail() {
        return email;
    }

    public DemoQuery setEmail(String email) {
        this.email = email;
        return this;
    }

    @Override
    public String toString() {
        return "DemoQuery{" +
                "idNo='" + idNo + '\'' +
                ", name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", email='" + email + '\'' +
                '}';
    }
}
